Types, logic and semantics for nested databases

نویسندگان

  • Achim Jung
  • Hermann Puhlmann
چکیده

This work presents rst steps towards a denotational semantics for relational databases. It is argued that such a semantics will increase the chances of successfully incorporating relational databases into typed programming languages. Database relations are seen as sets of data of a common structure. The main problem therefore is to model a type of sets. We propose the snack powerdomain for this purpose. Technically, the paper attempts to clarify two aspects of the domain theoretic background of this approach. We give a localic description of the snack powerdomain construction which reveals its logical simplicity. Second, we study a subdomain relation between Scott-domains on the denotational and the logical level. Again, the logical version is simple and intuitive. Such a relation is indispensable for introducing database operations such as`natural join'.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Nested Transactions in a Logical Language for Active Rules

We present a hierarchically structured transaction oriented concept for a rule based active database system In LL LHL we have proposed Statelog as a uni ed framework for active and deductive rules Following the need for better structuring capabilities we intro duce procedures as a means to group semantically related rules and to encapsulate their behavior In addition to executing elementary upd...

متن کامل

Haskell Programming with Nested Types: A Principled Approach

Initial algebra semantics is one of the cornerstones of the theory of modern functional programming languages. For each inductive data type, it provides a Church encoding for that type, a build combinator which constructs data of that type, a fold combinator which encapsulates structured recursion over data of that type, and a fold/build rule which optimises modular programs by eliminating from...

متن کامل

Haskell Programming with Nested Types : A Principled

Initial algebra semantics is one of the cornerstones of the theory of modern functional programming languages. For each inductive data type, it provides a Church encoding for that type, a build combinator which constructs data of that type, a fold combinator which encapsulates structured recursion over data of that type, and a fold/build rule which optimises modular programs by eliminating from...

متن کامل

Nested Epistemic Logic Programs

Nested logic programs and epistemic logic programs are two important extensions of answer set programming. However, the relationship between these two formalisms is rarely explored. In this paper we first introduce the epistemic HT-logic, and then propose a more general extension of logic programs called nested epistemic logic programs. The semantics of this extension named equilibrium views is...

متن کامل

Applications of Transaction Logic to Knowledge Representation

We present applications of the recently proposed Transaction Logic|an extension of classical logic that accounts in a clean and declarative fashion for the phenomenon of state changes in knowledge bases, including logic programs and databases. Transaction Logic has a natural model theory and a sound-and-complete proof theory, but unlike many other logics, it allows users to program transactions...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 1  شماره 

صفحات  -

تاریخ انتشار 1995